package org.zn.mvcbase.mybatis.datamodel;


import java.util.List;

import com.google.common.collect.Lists;

/**
* 
* @Company OBOR
* @Author 周楠
* @Description
* 2018年11月13日
*
*/
public class DynamicModel<I> {
	
	private String schema;
	private String	table;
	private I id;
	private List<ModelPair> mps;
	
	public DynamicModel() {
		mps=Lists.newArrayList();
	}
	
	
	
	public String getSchema() {
		return schema;
	}
	public void setSchema(String schema) {
		this.schema = schema;
	}
	public String getTable() {
		return table;
	}
	public void setTable(String table) {
		this.table = table;
	}
	public I getId() {
		return id;
	}
	public void setId(I id) {
		this.id = id;
	}
	public List<ModelPair> getMps() {
		return mps;
	}
	public void setMps(List<ModelPair> mps) {
		this.mps = mps;
	}
	
	public  void addModelPair(ModelPair mp) {
		
		mps.add(mp);
		
	}
	
	

}
